package com.wt.springsamples.juc;

public class NumberRunnable implements Runnable{
    int id;
    public NumberRunnable(int id){
        this.id= id;
    }
    @Override
    public void run() {
        try {
//            Thread.sleep(3000);
            System.out.println("NumberRunnable#"+id+"  线程ID::"+Thread.currentThread().getName());
        }catch (Exception e){
        }

    }
}
